package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.InquiryOrderIoTypeEnum;
import com.ym.medical.enums.InquiryOrderPaymentStateEnum;
import com.ym.medical.enums.InquiryOrderStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 咨询订单列表
 *
 * @author: 李涛
 * @version: 2019年06月24日 14:58
 */
@Setter
@Getter
@ApiModel("咨询订单列表")
public class ConsultingOrderVO {

	@ApiModelProperty("主键")
	private Long id;

	@ApiModelProperty("订单编号")
	private String orderNumber;

	@ApiModelProperty("用户名")
	private String userName;

	@ApiModelProperty("患者姓名")
	private String patientName;

	@ApiModelProperty("手机号")
	private String phoneNumber;

	@ApiModelProperty("接单医生ID")
	private String orderDoctorId;

	@ApiModelProperty("接单医生")
	private String orderDoctorName;

	@ApiModelProperty("咨询科室")
	private String consultingDepartment;

	@ApiModelProperty("咨询医生")
	private String consultDoctorId;

	@ApiModelProperty("咨询医生")
	private String consultDoctorName;

	@ApiModelProperty("咨询工作室")
	private String consultingStudio;

	@ApiModelProperty("咨询类型")
	@JsonSerialize(converter = InquiryOrderIoTypeEnum.Covert.class)
	private String ioType;

	@ApiModelProperty("订单状态")
	@JsonSerialize(converter = InquiryOrderStateEnum.Covert.class)
	private String ioState;

	@ApiModelProperty("支付状态")
	@JsonSerialize(converter = InquiryOrderPaymentStateEnum.Covert.class)
	private String paymentState;

	@ApiModelProperty("支付金额")
	private String paidMoney;

	@ApiModelProperty("付费时间")
	private Date paidTime;

}
